﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Service.System;
using Domain.Entities;
namespace Infrastructure.System
{
    public class DepartmentRepository : BackgroundRepository<WebDepartments>, IDepartmentRepository
    {
        public DepartmentRepository()
        { }

        public DepartmentRepository(Domain.Core.IUnitOfWork iUnitOfWork)
            : base(iUnitOfWork)
        { }
        #region IDepartmentRepository 成员

        public IQueryable<WebDepartments> GetWebDepartments(Domain.Core.Specification.ISpecification<WebDepartments> specification)
        {
            return base.GetEntities(specification);
        }

        #endregion
    }
}
